{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# XPath\n",
    "- 在XML文件中查找信息的一套规则/语言，根据XML的元素或者属性进行遍历\n",
    "# XPath开发工具\n",
    "- 开源的XPath表达式编辑工具：XMLQuire\n",
    "- Chrome插件：XPath Helper\n",
    "\n",
    "# 选取节点\n",
    "- nodename：选取此节点的所有子节点\n",
    "- /：从根节点开始选取\n",
    "- //：选取节点，不考虑位置\n",
    "- .：选取当前节点\n",
    "- ..：选取当前节点的父节点\n",
    "- @：选取属性\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
